#!/usr/bin/env perl

use utf8;

print "Input some lines >>\n";

@lines = <STDIN>;

print "Reverse the lines -->\n";

foreach(reverse @lines){
	print;
}
